Class FlowRecordManagerImpl

java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.FlowRecordManagerImpl
All Implemented Interfaces:
IPCObject, FlowRecordManager

public class FlowRecordManagerImpl extends IPCObjectImpl implements FlowRecordManager
Information provided by the PKI file:

    \class FlowRecordManager
    
    \brief FlowRecordManager manages all the flow records defined on a device.
    
    \example network().getDevice("Router0").getNetflowRecordManager()
    
Author:
Auto-generated
  • Constructor Details

  • Method Details

    • getRecordCount

      public int getRecordCount()
      Information provided by the PKI file:
      
          \brief Returns the number of flow records.
          
          \return string, the number of flow records.
          
              
      Specified by:
      getRecordCount in interface FlowRecordManager
      Returns:
      int Returns a int
    • getRecordAt

      public FlowRecord getRecordAt(int index)
      Information provided by the PKI file:
      
          \brief Returns the flow record at the specified index.
          
          \param index, the index of the flow record of interest.
          
          \return FlowRecord, the FlowRecord object at the specified index.
          
              
      Specified by:
      getRecordAt in interface FlowRecordManager
      Parameters:
      index - Takes in a parameter of index
      Returns:
      FlowRecord Returns a FlowRecord
    • getRecord

      public FlowRecord getRecord(String recordName)
      Information provided by the PKI file:
      
          \brief Returns the flow record with the specified name.
          
          \param recordName, the name of the flow record of interest.
          
          \return FlowRecord, the FlowRecord object with the specified name.
          
              
      Specified by:
      getRecord in interface FlowRecordManager
      Parameters:
      recordName - Takes in a parameter of recordName
      Returns:
      FlowRecord Returns a FlowRecord
    • createRecord

      public FlowRecord createRecord(String recordName)
      Information provided by the PKI file:
      
          \brief Creates a flow record with the specified name.
          
          \param recordName, the name of the flow record.
          
          \return FlowRecord, the FlowRecord object with the specified name.
          
              
      Specified by:
      createRecord in interface FlowRecordManager
      Parameters:
      recordName - Takes in a parameter of recordName
      Returns:
      FlowRecord Returns a FlowRecord
    • removeRecord

      public void removeRecord(String recordName)
      Information provided by the PKI file:
      
          \brief Removes the flow record with the specified name.
          
          \param recordName, the name of the flow record of interest.
          
              
      Specified by:
      removeRecord in interface FlowRecordManager
      Parameters:
      recordName - Takes in a parameter of recordName